package com.sj.purchase.util;

import com.sj.purchase.modules.cost.domain.order.Order;

/**
 * Created by Alin on 2017/11/17.
 */
public class OrderTypeUtils {

    public static String getOrderType(Order.OrderType orderType) {
        switch (orderType) {
            case IN_PURCHASE:
                return "采购入库";
            case IN_RETURN:
                return "销售退货入库";
            case OUT_SALES:
                return "销售出库";
            case OUT_OTHER:
                return "其他出库";
            case OUT_PROCUREMENT_RETURNS:
                return "采购退货出库";
        }
        return null;
    }
}
